<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>新参数</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration53.undeprecated.html">PHP 5.3.x 保留的功能</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration53.functions.html">新函数</a></div>
 <div class="up"><a href="migration53.html">从 PHP 5.2.x 移植到 PHP 5.3.x</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="migration53.parameters" class="section">
  <h2 class="title">新参数</h2>
  <p class="simpara">
   在 PHP 5.3 中一些函数新增了参数和选项:
  </p>
  <p class="simpara">PHP 核心:</p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.clearstatcache.html" class="function">clearstatcache()</a></span>
     - 新增 <em><code class="parameter">clear_realpath_cache</code></em> 和
     <em><code class="parameter">filename</code></em> 参数.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.copy.html" class="function">copy()</a></span>
     - 新增流环境参数 <em><code class="parameter">context</code></em>.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.fgetcsv.html" class="function">fgetcsv()</a></span>
     - 新增 <em><code class="parameter">escape</code></em> 参数.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.ini-get-all.html" class="function">ini_get_all()</a></span>
     - 新增 <em><code class="parameter">details</code></em> 参数.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.nl2br.html" class="function">nl2br()</a></span>
     - 新增 <em><code class="parameter">is_xhtml</code></em> 参数.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.parse-ini-file.html" class="function">parse_ini_file()</a></span>
     - 新增 <em><code class="parameter">scanner_mode</code></em> 参数.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.round.html" class="function">round()</a></span>
     - 新增 <em><code class="parameter">mode</code></em> 参数.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.stream-context-create.html" class="function">stream_context_create()</a></span>
     - 新增 <em><code class="parameter">params</code></em> 参数.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.strstr.html" class="function">strstr()</a></span> 和 <span class="function"><a href="function.stristr.html" class="function">stristr()</a></span> 
     - 新增 <em><code class="parameter">before_needle</code></em> 参数.
    </span>
   </li>
  </ul>

  <p class="simpara"><a href="book.json.html" class="link">json</a>:</p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.json-encode.html" class="function">json_encode()</a></span>
     - 新增 <em><code class="parameter">options</code></em> 参数.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.json-decode.html" class="function">json_decode()</a></span>
     - 新增 <em><code class="parameter">depth</code></em> 参数.
    </span>
   </li>
  </ul>

  <p class="simpara"><a href="book.stream.html" class="link">流(Streams)</a>:</p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.stream-select.html" class="function">stream_select()</a></span>,
     <span class="function"><a href="function.stream-set-blocking.html" class="function">stream_set_blocking()</a></span>,
     <span class="function"><a href="function.stream-set-timeout.html" class="function">stream_set_timeout()</a></span>, 和
     <span class="function"><a href="function.stream-set-write-buffer.html" class="function">stream_set_write_buffer()</a></span> 使用用户空间流包裹器.
    </span>
   </li>
  </ul>

  <p class="simpara"><a href="book.sybase.html" class="link">sybase_ct</a>:</p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.sybase-connect.html" class="function">sybase_connect()</a></span>
     - 新增 <em><code class="parameter">new</code></em> 参数.
    </span>
   </li>
  </ul>

  <p class="simpara">
   PHP 5.3.0 中的新方法参数:
  </p>
  <p class="simpara">PHP 核心:</p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <span class="methodname"><a href="exception.construct.html" class="methodname">Exception::__construct()</a></span>
     - 新增 <em><code class="parameter">previous</code></em> 参数.
    </span>
   </li>
  </ul>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration53.undeprecated.html">PHP 5.3.x 保留的功能</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration53.functions.html">新函数</a></div>
 <div class="up"><a href="migration53.html">从 PHP 5.2.x 移植到 PHP 5.3.x</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
